//
//  ZMSearchHistoryCell.swift
//  LeGou
//
//  Created by 刘亿前 on 2022/9/9.
//

import UIKit

class ZMSearchHistoryCell: UICollectionViewCell {
    lazy var name: UILabel = {
        let lab = UILabel()
        lab.font = UIFont.zm.fontRegular(size: 14)
        lab.textColor = "#666666".zm.hex()
        lab.backgroundColor = "#ECEEF4".zm.hex()
        lab.layer.cornerRadius = 4
        lab.layer.masksToBounds = true
        lab.textAlignment = .center
        self.contentView.addSubview(lab)
        lab.snp.makeConstraints { (make) in
            make.edges.equalToSuperview()
        }
        return lab
    }()
}
